﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Trying1;

namespace Trying1.Classes
{
    class Booking
    {
        public int bookingId { get; set; }
        public int roomNum { get; set; }
        public int guestNo { get; set; }
        public DateTime checkInDate { get; set; }
        public DateTime checkOutDate { get; set; }
        public string addReq { get; set; }
        public decimal roomRates { get; set; }
        public decimal totalPrice { get; set; }


        public Booking() { }
        public Booking(int bookingId,int roomNum, int guestNo, DateTime checkInDate, DateTime checkOutDate, string addReq, decimal roomRates, decimal totalPrice)
        {
            this.bookingId = bookingId;
            this.roomNum = roomNum;
            this.guestNo = guestNo;
            this.checkInDate = checkInDate;
            this.checkOutDate = checkOutDate;
            this.addReq = addReq;
            this.roomRates = roomRates;
            this.totalPrice = totalPrice;
        }
        public Booking(int roomNum, int guestNo, DateTime checkInDate, DateTime checkOutDate, string addReq, decimal roomRates, decimal totalPrice)
        {
            this.roomNum = roomNum;
            this.guestNo = guestNo;
            this.checkInDate = checkInDate;
            this.checkOutDate = checkOutDate;
            this.addReq = addReq;
            this.roomRates = roomRates;
            this.totalPrice = totalPrice;
        }
        public Booking(int roomNum, int guestNo, DateTime checkInDate, DateTime checkOutDate,string addReq)
        {
            this.roomNum = roomNum;
            this.guestNo = guestNo;
            this.checkInDate = checkInDate;
            this.checkOutDate = checkOutDate;
            this.addReq = addReq;
        }
    }
}
